package com.randy.recyclerviews.rangecalculator;

/**
 * 用于比较两个item是否相同，或者内容相同
 * Created by xudong on 2016/12/15.
 */
@Deprecated
public interface IDiffUtilHelper<T> {
    /**
     * see {@link android.support.v7.util.DiffUtil.Callback#areItemsTheSame(int, int)}
     */
    boolean isItemTheSame(T item);

    /**
     * see {@link android.support.v7.util.DiffUtil.Callback#areContentsTheSame(int, int)}
     */
    boolean isContentTheSame(T item);
}
